<?php 
	
	class cinema{
		private $name;
		private $hallcount;
		
		function __construct($name,$hallcount){
			
			setName($name);
			setHallcount($hallcount);
		
		}
			
		function __destruct(){
				
		}
		
		public function getName(){
			return $this->name;
		}
		public function setName($name){
			if(is_string($name))
				$this->name=$name;
		}
		
		public function getHallcount(){
			return $this->hallcount;
		}
		public function setHallcount($hallcount){
				if(is_int($hallcount))
				$this->hallcount=$hallcount;
		
		
		
		
	}

?>